home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 13288 / 13288.xpi / content / listmanager.xul < prev    next >
Extensible Markup Language  |  2009-09-02  |  3KB  |  73 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <?xml-stylesheet href="chrome://supertabmode/skin/listmanager.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://supertabmode/locale/dialog.dtd">
  6.  
  7. <dialog id="stm-dialog"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         autosize="true"
  10.         resizable="no"
  11.         persist="screenX screenY"
  12.         buttons="accept,cancel,extra1,extra2"
  13.         onload="stmList.init();"
  14.         onunload="stmList.destory();"
  15.         ondialogaccept="stmList.setOptions();"
  16.         ondialogextra1="stmList.setOptions();"
  17.         title="&dialog.title;">
  18.   <script type="application/x-javascript" src="chrome://supertabmode/content/listmanager.js"/>
  19.   <script type="application/x-javascript" src="chrome://supertabmode/content/common.js"/>
  20.  
  21.   <vbox>
  22.     <hbox align="center">
  23.       <checkbox id="filtercbx" label="&filter.enabled;" oncommand="stmList.updateDialogAllStatus();"/>
  24.       <spacer flex="1"/>
  25.       <button id="delbtn"
  26.           label="&filter.button.delete;"
  27.           disabled="true"
  28.           oncommand="stmList.delSelected();"/>
  29.     </hbox>
  30.  
  31.     <tree id="filterList" width="375" height="170" seltype="multiple"
  32.           enableColumnDrag="true" disableKeyNavigation="true" editable="true"
  33.           onselect="stmList.updateDelButtonStatus();">
  34.       <treecols>
  35.         <treecol id="columnRule" label="&filter.column.rule;" flex="1" persist="width hidden"/>
  36.         <splitter class="tree-splitter"/>
  37.         <treecol id="columnEnabled" label="&filter.column.enabled;" persist="width hidden" type="checkbox" editable="true"/>
  38.       </treecols>
  39.       <treechildren id="filterChilds" ondblclick="stmList.onDblClickFilterList(event);"/>
  40.     </tree>
  41.  
  42.     <hbox align="center">
  43.       <label id="urllabel" value="&filter.url.label;"/>
  44.       <textbox id="urlbox" flex="1"
  45.            oninput="stmList.updateAddButtonStatus();"/>
  46.       <button id="addbtn"
  47.           label="&filter.button.add;"
  48.           disabled="true"
  49.           oncommand="stmList.addNewURL();"/>
  50.     </hbox>
  51.   </vbox>
  52.   <separator />
  53.  
  54.   <hbox>
  55.     <button dlgtype="extra2" id="myExtra2" label="&settings.label;" popup="settings"/>
  56.     <spacer flex="1"/>
  57.     <button dlgtype="accept" id="myAccept"/>
  58.     <button dlgtype="extra1" id="myExtra1" label="&apply.label;"/>
  59.     <button dlgtype="cancel" id="myCancel"/>
  60.   </hbox>
  61.  
  62.   <popupset>
  63.     <popup id="settings" position="before_start">
  64.       <menuitem id="default" label="&settings.default;" oncommand="stmList.restoreDefault();"/>
  65.       <menuitem id="import"  label="&settings.import;"  oncommand="stmList.importSettings();"/>
  66.       <menuitem id="export"  label="&settings.export;"  oncommand="stmList.exportSettings();"/>
  67.     </popup>
  68.   </popupset>
  69.  
  70. </dialog>
  71.  
  72.  
  73.